#-*- coding: utf-8 -*-



def bubblesort(A):
	''' 
	Algoritmo de ordenacao Bubble-Sort 

	Parametros de entrada 
		A -> Array para odernacao 

	'''
        for i in range(0, len(A)-1):
            for j in range(len(A)-1, i, -1):
                if A[j] < A[j-1]:
                    A[j], A[j-1] = A[j-1], A[j]
                pass
            pass
        pass
pass